test/py: match prompt only at line boundaries
authorStephen Warren <[email protected]>
Wed, 17 Aug 2016 01:58:59 +0000 (19:58 -0600)
committerTom Rini <[email protected]>
Sat, 20 Aug 2016 18:03:24 +0000 (14:03 -0400)
commit4ba58bdabd0ad8356401e5221e8377ebd412362d
treeb80de6d8be6d3dab36a9f70632e710e5da153e23
parentfc18e9b3d5507845ea8a60a101ee3a368316068e
test/py: match prompt only at line boundaries

This prevents capture of command output from terminating early on boards
that use a simple prompt (e.g. "=> ") that appears in the middle of
command output (e.g. crc32's "... ==> 2fa737e0").

Reported-by: Tom Rini <[email protected]>
Signed-off-by: Stephen Warren <[email protected]>
Tested-by: Tom Rini <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
test/py/u_boot_console_base.py